﻿using HRX.PayCenter.ApplicationCore.Interfaces.Common;
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;

namespace HRX.PayCenter.ApplicationCore.Models
{
    /// <summary>
    /// 创建订单请求模型
    /// </summary>
    public class TradeRequest : IAmount, IDeviceId, ISign, IProductId
    {
        /// <summary>
        /// 支付金额
        /// </summary>
        public decimal Amount { get ; set ; }
        /// <summary>
        /// 设备id
        /// </summary>
        public string DeviceId { get ; set ; }
        /// <summary>
        /// 产品Id
        /// </summary>
        public int ProductId { get; set; }
        /// <summary>
        /// 支付方式
        /// </summary>
        public string Method { get; set; }
        /// <summary>
        /// 扩展字段
        /// </summary>
        public string Ext { get; set; }
        /// <summary>
        /// 签名
        /// </summary>
        public string Sign { get; set; }
        /// <summary>
        /// 时间戳
        /// </summary>
        public long Timestamp { get; set; }
    }
}
